package com.ruoyi.web.ydz.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 临床招募对象 clinical
 * 
 * @author DRX
 * @date 2024-10-30
 */
public class Clinical extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "id")
    private Long id;

    /** 短标题 */
    @Excel(name = "短标题")
    private String title;

    /** 适应症 */
    @Excel(name = "适应症")
    private String indications;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 招募阶段 */
    @Excel(name = "招募阶段")
    private String stage;

    /** 性别 */
    @Excel(name = "性别")
    private String sexType;

    private String sexLabel;

    /** 试验分期 */
    @Excel(name = "试验分期")
    private String trialStaging;

    /** 实验分期名称 */
    @Excel(name = "实验分期名称")
    private String trialName;

    /** 治疗阶段 */
    @Excel(name = "治疗阶段")
    private String treatmentStage;

    private String treatmentName;

    private String stageName;

    /** 地区 */
    @Excel(name = "地区")
    private String trialArea;

    /** 试验中心名称 */
    @Excel(name = "试验中心名称")
    private String areaName;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drug;

    /** 年龄 */
    private String age;

    /** 开始时间 */
    private Date startTime;

    /** 结束时间 */
    private Date endTime;

    /** 登记号 */
    @Excel(name = "登记号")
    private String registrationNum;

    /** 人数 */
    @Excel(name = "人数")
    private Long peopleNum;

    /** 项目介绍 */
    private String content;

    /** 入选条件 */
    private String selected;

    /** 排除条件 */
    private String exclusion;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 更新人名称 */
    private String updateName;

    /** 是否删除（0否；1是） */
    private String delFlag;

    /** 药品疾病 */
    List<ClinicalDisease> clinicalDiseaseList;

    /** 疾病删除数组 */
    private Long[] delClinicalDiseaseIds;

    public List<ClinicalDisease> getClinicalDiseaseList() {
        return clinicalDiseaseList;
    }

    public void setClinicalDiseaseList(List<ClinicalDisease> clinicalDiseaseList) {
        this.clinicalDiseaseList = clinicalDiseaseList;
    }

    public Long[] getDelClinicalDiseaseIds() {
        return delClinicalDiseaseIds;
    }

    public void setDelClinicalDiseaseIds(Long[] delClinicalDiseaseIds) {
        this.delClinicalDiseaseIds = delClinicalDiseaseIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIndications(String indications) 
    {
        this.indications = indications;
    }

    public String getIndications() 
    {
        return indications;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setStage(String stage) 
    {
        this.stage = stage;
    }

    public String getStage() 
    {
        return stage;
    }
    public void setSexType(String sexType) 
    {
        this.sexType = sexType;
    }

    public String getSexType() 
    {
        return sexType;
    }
    public void setTrialStaging(String trialStaging) 
    {
        this.trialStaging = trialStaging;
    }

    public String getTrialStaging() 
    {
        return trialStaging;
    }
    public void setTrialName(String trialName) 
    {
        this.trialName = trialName;
    }

    public String getTrialName() 
    {
        return trialName;
    }
    public void setTreatmentStage(String treatmentStage) 
    {
        this.treatmentStage = treatmentStage;
    }

    public String getTreatmentStage() 
    {
        return treatmentStage;
    }
    public void setTrialArea(String trialArea) 
    {
        this.trialArea = trialArea;
    }

    public String getTrialArea() 
    {
        return trialArea;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setDrug(String drug) 
    {
        this.drug = drug;
    }

    public String getDrug() 
    {
        return drug;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setRegistrationNum(String registrationNum) 
    {
        this.registrationNum = registrationNum;
    }

    public String getRegistrationNum() 
    {
        return registrationNum;
    }
    public void setPeopleNum(Long peopleNum) 
    {
        this.peopleNum = peopleNum;
    }

    public Long getPeopleNum() 
    {
        return peopleNum;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSelected(String selected) 
    {
        this.selected = selected;
    }

    public String getSelected() 
    {
        return selected;
    }
    public void setExclusion(String exclusion) 
    {
        this.exclusion = exclusion;
    }

    public String getExclusion() 
    {
        return exclusion;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getSexLabel() {
        return sexLabel;
    }

    public void setSexLabel(String sexLabel) {
        this.sexLabel = sexLabel;
    }

    public String getTreatmentName() {
        return treatmentName;
    }

    public void setTreatmentName(String treatmentName) {
        this.treatmentName = treatmentName;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("indications", getIndications())
            .append("state", getState())
            .append("stage", getStage())
            .append("sexType", getSexType())
            .append("trialStaging", getTrialStaging())
            .append("trialName", getTrialName())
            .append("treatmentStage", getTreatmentStage())
            .append("trialArea", getTrialArea())
            .append("areaName", getAreaName())
            .append("drug", getDrug())
            .append("age", getAge())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("registrationNum", getRegistrationNum())
            .append("peopleNum", getPeopleNum())
            .append("content", getContent())
            .append("selected", getSelected())
            .append("exclusion", getExclusion())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
